﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace BlockMain_Class
{
    public class PeerInfo
    {
        public string Id { get; set; }
        public string Ip { get; set; }
        public int state { get; set; }

        public string addtime { get; set; }
        public string detail { get; set; }

        public List<BlockItems> Blocks { get; set; }

    }

    public class BlockItems
    {
        public int Heigth { get; set; }
        public string Hash { get; set; }
        public string PrevHash { get; set; }
        public string addtime { get; set; }
    }
}
